package com.czk.model.state.practice;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/8/9 14:44
 */
public class OrderPaySuccess implements OrderState {
    private static OrderPaySuccess orderPaySuccess=new OrderPaySuccess();
    @Override
    public void updateState(OrderContext orderContext) {
        System.out.println("用户支付成功");
    }
    public static OrderPaySuccess instance(){
        return orderPaySuccess;
    }

    private OrderPaySuccess() {
    }
}
